import Https from "@/utils/Https";

export const queryPageDataReq = async (params) =>
  await Https.post("/content/banner/list", params);

export const addItemReq = async (params) =>
  await Https.post("/content/banner/add", params, true);
export const updateItemReq = async (params) =>
  await Https.post("/content/banner/update", params, true);
export const deleteItemReq = async (params) =>
  await Https.post("/content/banner/delete", params, true);

export const queryItemInfoReq = async (params) =>
  await Https.post("/content/banner/detail", params);

export const toggleStateReq = async (params) =>
  await Https.post("/content/banner/update", params, true);

export const queryCoursePageDataReq = async (params) =>
  await Https.get("/course/sched/courseAllList", params);
export const queryCoachPageDataReq = async (params) =>
  await Https.get("/employee/manage/listCoach", params);
